package xyz.comfyz.web.commons.framework.exceptions;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author :    comfy
 * @date :      2018-05-08 09:25:51
 * @since :     1.8
 * <p>
 * 启用异常统一处理
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import({DefaultErrorController.class, RestExceptionHandler.class})
public @interface EnableExceptionHandler {
}
